package com.tt.fashionWebSite.dto;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class HoaDonFullDto implements Serializable {
   private String maHD;
   private ThongTinThanhVienDto thongTinThanhVien;
   private String hoTenNN;
   private String soDTNN;
   private String diaChiNN;
   private Date ngayLapHD;
   private Date ngayNhan;
   private Date ngayGiao;
   private Long trangThai;
   private Long thanhToan;
   private String ghiChu;
   private Double tongTien;
   private List<ChiTietHoaDonFullDto> chiTietHoaDon;

   public HoaDonFullDto() {}

   public HoaDonFullDto(Object[] hoaDonInfo) {
      chiTietHoaDon = new ArrayList<ChiTietHoaDonFullDto>();

      if(hoaDonInfo[0] != null) {
         this.maHD = hoaDonInfo[0].toString();
      }
   }

   public String getMaHD() {
      return maHD;
   }

   public void setMaHD(String maHD) {
      this.maHD = maHD;
   }

   public ThongTinThanhVienDto getThongTinThanhVien() {
      return thongTinThanhVien;
   }

   public void setThongTinThanhVien(ThongTinThanhVienDto thongTinThanhVien) {
      this.thongTinThanhVien = thongTinThanhVien;
   }

   public String getHoTenNN() {
      return hoTenNN;
   }

   public void setHoTenNN(String hoTenNN) {
      this.hoTenNN = hoTenNN;
   }

   public String getSoDTNN() {
      return soDTNN;
   }

   public void setSoDTNN(String soDTNN) {
      this.soDTNN = soDTNN;
   }

   public String getDiaChiNN() {
      return diaChiNN;
   }

   public void setDiaChiNN(String diaChiNN) {
      this.diaChiNN = diaChiNN;
   }

   public Date getNgayLapHD() {
      return ngayLapHD;
   }

   public void setNgayLapHD(Date ngayLapHD) {
      this.ngayLapHD = ngayLapHD;
   }

   public Date getNgayGiao() {
      return ngayGiao;
   }

   public void setNgayGiao(Date ngayGiao) {
      this.ngayGiao = ngayGiao;
   }

   public Long getTrangThai() {
      return trangThai;
   }

   public void setTrangThai(Long trangThai) {
      this.trangThai = trangThai;
   }

   public String getGhiChu() {
      return ghiChu;
   }

   public void setGhiChu(String ghiChu) {
      this.ghiChu = ghiChu;
   }

   public Double getTongTien() {
      return tongTien;
   }

   public void setTongTien(Double tongTien) {
      this.tongTien = tongTien;
   }

   public List<ChiTietHoaDonFullDto> getChiTietHoaDon() {
      return chiTietHoaDon;
   }

   public void setChiTietHoaDon(List<ChiTietHoaDonFullDto> chiTietHoaDon) {
      this.chiTietHoaDon = chiTietHoaDon;
   }

   public Date getNgayNhan() {
      return ngayNhan;
   }

   public void setNgayNhan(Date ngayNhan) {
      this.ngayNhan = ngayNhan;
   }

   public Long getThanhToan() {
      return thanhToan;
   }

   public void setThanhToan(Long thanhToan) {
      this.thanhToan = thanhToan;
   }
}
